package week_2.practice;

public class Customer {
    private int arrivalTime, departureTime;

    public Customer (int arrives){
        arrivalTime = arrives;
        departureTime = 0;
    }

    public int getArrivalTime(){
        return arrivalTime;
    }

    public void setDepartureTime (int depart){
        departureTime = depart;
    }

    public int getDepartureTime(){
        return departureTime;
    }

    public int totalTime(){
        return departureTime - arrivalTime;
    }
}
